package com.ushine.web.component.contant;

/**
 * @Author: yls
 * @Date: 2020/7/12 0012 14:53
 * @Description: redis相关的常量类
 * @Version 1.0
 */
public class RedisConstant {
    private RedisConstant() {

    }

    /**
     * 分隔符 Separator
     */
    public static final String LOCK_SEPARATOR = "_";

    /**
     * 服务id，根据id获取服务相关的缓存信息
     * 分布式锁的前缀
     */
    public static final String LOCK_TITLE = "system";

    /**
     * 系统用户的Token缓存值前缀
     */
    public static final String TOKEN_PREFIX = "login_token";

    /**
     * 系统用户的权限缓存值前缀
     */
    public static final String USER_INFO_PREFIX = "user_info";

}
